Skip to content

[ENH] V1 → V2 API Migration - estimation procedures#1604

Open
EmanAbdelhaleem wants to merge 82 commits intoopenml:mainfrom
EmanAbdelhaleem:estimation-procedures-mig
Open

[ENH] V1 → V2 API Migration - estimation procedures#1604
EmanAbdelhaleem wants to merge 82 commits intoopenml:mainfrom
EmanAbdelhaleem:estimation-procedures-mig

Conversation

@EmanAbdelhaleem
Copy link
Contributor

@EmanAbdelhaleem EmanAbdelhaleem commented Jan 7, 2026

Fixes #1622
Depends on #1576
Related to: #1575

Details

This PR implements EstimationProcedures resource, and refactor its existing functions

@codecov-commenter
Copy link

codecov-commenter commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 60.08119% with 295 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.86%. Comparing base (d421b9e) to head (b1a13cb).

Files with missing lines Patch % Lines
openml/_api/clients/http.py 39.47% 115 Missing ⚠️
openml/_api/resources/base/versions.py 24.71% 67 Missing ⚠️
openml/_api/setup/backend.py 65.16% 31 Missing ⚠️
openml/_api/resources/base/fallback.py 26.31% 28 Missing ⚠️
openml/_api/resources/estimation_procedure.py 54.00% 23 Missing ⚠️
openml/_api/setup/_utils.py 56.00% 11 Missing ⚠️
openml/testing.py 55.55% 8 Missing ⚠️
openml/_api/setup/builder.py 81.08% 7 Missing ⚠️
openml/_api/resources/base/base.py 78.57% 3 Missing ⚠️
openml/config.py 93.33% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1604      +/-   ##
==========================================
+ Coverage   52.04%   53.86%   +1.82%     
==========================================
  Files          36       63      +27     
  Lines        4333     5044     +711     
==========================================
+ Hits         2255     2717     +462     
- Misses       2078     2327     +249     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. The implementation is clean and nicely decoupled. The next step should be adding tests, but let's wait until we have a clearer roadmap for that.
Also, please update the PR description to follow this format:

Fixes #...
Depends on #1576
Related to #1575

@geetu040 geetu040 mentioned this pull request Jan 9, 2026
25 tasks
Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please take a look at the function _get_estimation_procedure_list in tasks/functions and see if it can also be replaced via the list method or a new method in EstimationProcedures class?

@EmanAbdelhaleem EmanAbdelhaleem force-pushed the estimation-procedures-mig branch from 2f6aa34 to 94d1163 Compare January 28, 2026 05:58
@EmanAbdelhaleem EmanAbdelhaleem force-pushed the estimation-procedures-mig branch from f8c4791 to 0d9868a Compare February 3, 2026 20:05
@EmanAbdelhaleem
Copy link
Contributor Author

@geetu040 Ready for review

Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, let's see if we need to change anything after discussion concludes on design

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] V1 → V2 API Migration - estimation procedures

5 participants